{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}

  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
                <div class="box-header with-border">
                    <span class="fa fa-list" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                    <p class="box-title">教师值日统计表</p>
                </div>
                <div class="box-body">

                    <div style="clear:both; height:2px;"></div>
                    <div style="width:100%; overflow-x:scroll;"> 
                      <table class="table table-bordered table-striped" id="mytable"> 
                           <thead>  
                             <tr>
                                <td>教师姓名</td>
								{%foreach from=$week key=key item=value%}
								{%foreach from=$value key=k item=v%}
                                <td>第{%$v%}周</td>
								{%/foreach%}
								<td>{%$key%}月合计</td>
								{%/foreach%}   
							 </tr>
                           </thead>
						   {%foreach from=$data_lists key=key item=value%}
                              <tr>
                                <td>{%$key%}</td>
								{%foreach from=$value key=k item=v%}
									{%foreach from=$v.week key=t item=s%}
									<td>{%$s%}</td>
									{%/foreach%}
									<td>{%$v.month%}</td>
								{%/foreach%}
							 </tr>
						{%/foreach%}

						 </table>      	   
				    </div><!--box-body --> 
             </div><!--box box-default box-solid-->
          </section>   
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
  {%include file="index.footer.tpl.php"%}

